Bug 516425 – Optionally display accelerators in popups
authorMichael Natterer <mitch@imendio.com>
Thu, 9 Oct 2008 08:50:33 +0000 (08:50 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Thu, 9 Oct 2008 08:50:33 +0000 (08:50 +0000)
commit1d82722199f82b6368be517e0e68cbebf62e45e4
tree1b3a9f86bef586d4da260fad6da8d50875686595
parentd84a56d3a3d4f9ce94a70da561d06c93780e990e
Bug 516425 – Optionally display accelerators in popups

2008-10-09  Michael Natterer  <mitch@imendio.com>

Bug 516425 – Optionally display accelerators in popups

* gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
shows the actions' accelerators.

* gtk/gtkuimanager.c: honor the new enum value for programmatically
created UIs, and support <popup accelerators="true"> in the XML
for the same purpose.

svn path=/trunk/; revision=21615
ChangeLog
gtk/gtkuimanager.c
gtk/gtkuimanager.h